Computer system, control apparatus, storage system and computer device

ABSTRACT

A computer system which enables more efficient use of a storage system shared by plural host computers and optimizes the performance of the whole system including the host computers and storages. A computer device has a first control block which logically partitions computing resources of the computer device and makes resulting partitions run as independent virtual computers. The storage system has a second control block which logically partitions storage resources of the storage system and makes resulting partitions run as independent virtual storage systems. The system also has a management unit incorporating: a first control table which controls computing resources of the computer device; a second control table which controls storage resources of the storage system; and a third control table which controls the relations between the virtual computers and the virtual storage systems. The first control block logically partitions the computing resources according to the first control table; and the second control block logically partitions the storage resources according to the second control table.

CROSS-REFERENCES TO RELATED APPLICATIONS

The above-referenced patent application is a continuation application ofU.S. Ser. No. 10/807,173, filed Mar. 24, 2004, now U.S. Pat. No.7,093,035 from which priority is claimed under 35 U.S.C. § 120, and thedisclosure of which is incorporated herein in its entirety.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a computer system and more particularlyto logical partitioning technology which involves storages of computersystems connected with storage systems.

2. Description of the Related Art

One approach to improving the performance of an information processingsystem is to increase the number of computers in an informationprocessing system. However, the use of many computers in a system posesthe following problem: it necessitates a troublesome task of controllingindividual computers, requires a larger footprint for the computers andconsumes more electric power. As a solution to this problem, technologywhich logically partitions resources of a computer with a largeprocessing capacity (LPAR: Logical Partitioning) and makes it possibleto use resulting logical partitions as independent virtual computers hasbeen proposed. This logical partitioning technology can make onecomputer look like a plurality of virtual computers. When allocation ofresources (processor, memory, etc.) to partitions is controlled, theperformance of each virtual computer is assured. With this technology,different operating systems can be freely installed in virtual computersso that each virtual computer can be turned on and off or troubleshotindependently for flexible operation. In addition, the use of a smallernumber of physical machines offers advantages in terms of systemcontrol, footprint and power consumption. This kind of logicalpartitioning technology is disclosed, for example, in JP-A No.157177/2003 (patent literature 1).

In the logical partitioning technology which has been used so far forcomputers, resources of computers such as processors and memories arelogically partitioned and allocated to virtual computers.

Storage systems which are used with computers include not only a storagesystem directly connected with a host computer but also a storage systemshared by plural computers through a network. The memory area of astorage system connected with a computer is partitioned and one ofresulting partitions is allocated to one of the virtual computers.

When a storage system has a file system function, it is used as astorage system which allows sharing of files among different servers,namely NAS (Network Attached Storage) as a storage system which isfile-accessible from a computer. Data communication between a NAS and ahost computer takes place file by file where each file should have aname and a structure which the operating system running on the hostcomputer recognizes. For this reason, in addition to a disk drive whichstores data and its controller, the NAS has a processor and a memory foroperation of a file system which converts file input/output with thehost computer into data input/output with the disk drive. This type ofNAS does not take logical partitioning of resources into consideration.

Besides, a RAID (Redundant Array of Independent Disks) system, which isused with a large external storage system, does not presuppose logicalpartitioning. Even when logical partitioning is permitted in this typeof RAID system, a server system just performs logical partitioning ofpre-allocated storage resources and cannot reallocate the resources ofthe storage system and therefore allocation of resources of the wholesystem including the server system and storage system cannot beoptimized.

SUMMARY OF THE INVENTION

An object of the present invention is to enable more efficient use of astorage system shared by plural host computers and optimize theperformance of the whole system including the host computers andstorages.

According to one aspect of the invention, a computer system comprises acomputer device on which application software runs and a storage systemwhich stores data required for operation of the computer device. Thecomputer device has a first control block which logically partitionscomputing resources of the computer device and makes resultingpartitions run as independent virtual computers. The storage system hasa second control block which logically partitions storage resources ofthe storage system and makes resulting partitions run as independentvirtual storage systems.

The system further comprises a management unit having: a first controltable which controls computing resources of the computer device; asecond control table which controls storage resources of the storagesystem; and a third control table which controls the relations betweenthe virtual computers and the virtual storage systems. Here, the firstcontrol block logically partitions the computing resources according tosettings in the first control table; and the second control blocklogically partitions the storage resources according to settings in thesecond control table.

According to the present invention, since storage resources can belogically partitioned in a way to match logical partitioning of serverresources, system resources including server and storage resources canbe optimally allocated.

In conventional systems, the condition of storage resources other thandisks (for example, disk caches) could not be checked from the server.On the other hand, in-the present invention, these resources, whichconsiderably influence the performance, can also be allocated so thatallocation of resources of the computer system is optimized.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be more particularly described with reference to theaccompanying drawings, in which:

FIG. 1 is a block diagram showing the configuration of a computer systemaccording to a first embodiment of the present invention;

FIG. 2 illustrates a virtual disk control table according to anembodiment of the present invention;

FIG. 3 illustrates a disk address translation table according to anembodiment of the present invention;

FIG. 4 illustrates a storage resources control table according to anembodiment of the present invention;

FIG. 5 illustrates a resources control table according to an embodimentof the present invention;

FIG. 6 is a flowchart showing a resources allocation process accordingto an embodiment of the present invention;

FIG. 7 is a flowchart showing a data input/output process according toan embodiment of the present invention;

FIG. 8 illustrates the layer structure of an I/O channel communicationprotocol according to an embodiment of the present invention;

FIG. 9 illustrates data communication between a server system and astorage system according to an embodiment of the present invention;

FIG. 10 illustrates a hypervisor communication header according to anembodiment of the present invention;

FIG. 11 illustrates a computer system configuration screen according toan embodiment of the present invention;

FIG. 12 illustrates a computer system configuration screen according toan embodiment of the present invention;

FIG. 13 is a block diagram showing the configuration of a computersystem according to a second embodiment of the present invention;

FIG. 14 is a block diagram showing the configuration of a computersystem according to a third embodiment of the present invention;

FIG. 15 is a block diagram showing the configuration of a computersystem according to a fourth embodiment of the present invention;

FIG. 16A illustrates the performance of a virtual disk consisting of onephysical disk and FIG. 16B illustrates the performance of a virtual diskconsisting of three physical disks according to the fourth embodiment ofthe present invention;

FIG. 17 illustrates a storage resources control table according to thefourth embodiment; and

FIG. 18 illustrates a computer system configuration screen according tothe fourth embodiment.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Next, preferred embodiments of the present invention will be describedreferring to the accompanying drawings.

Referring to FIG. 1, the first embodiment of the present invention iscomposed of: a server system 100 on which application software runs; astorage system 200 which stores data required for operation of theserver system 100; and a control terminal 300 which controls operationof the whole computer system.

The server system 100 has a physical computer system 110 whichincorporates such resources as a CPU 111, a memory 112, an I/O bus 113,and I/O adaptors 114 and 115. The CPU 111 performs computation for OS(0) 132, OS (1) 142 and application software 133 and 143 which areexecuted in the server system 100. The memory 112 temporarily storesprograms and data required for operation of the CPU 111. The I/O bus 113connects the CPU 111 and the I/O adaptors 114 and 115 to exchange data.The I/O adaptor 114 is connected with the storage system 200 through anI/O channel (for example, Fibre Channel) 400 and transmits a request fordata input/output to the storage system 200 and receives data stored inthe storage system 200. The I/O adaptor 115 is connected with thecontrol terminal 300 through a network 410 (for example, Ethernet(registered trademark)).

In the server system 100, the plural OSs 132 and 142 run and theapplication software 133 and 143 respectively run under the OS (0) 132and OS (1) 142. The application software 133 and 143 provide variousservices such as database service, web service to client terminals (notshown) connected with the server system 100.

The resources of the physical computer system 110 are controlled by ahypervisor 120. The hypervisor 120 is a control software which createsand controls logical partitions (i.e. virtual computers) in the serversystem 100. The hypervisor 120 runs on CPU 111. The hypervisor 120creates a virtual computer (0) 131 based on computing resources in useby the OS (0) 132 and a virtual computer (1) 141 based on those by theOS (1) 142, in the physical computer system 110.

The hypervisor 120 has a virtual disk control table 121 (FIG. 2). Thevirtual disk control table 121 stores the same content as a virtual diskcontrol table 221, namely data on the configuration of virtual storagesystems 230 and 240 of the storage system 200.

The storage system 200 has a physical storage system 210 including suchresources as a physical storage control block 211 and physical disks215.

The physical storage control block 211 incorporates a control processor(CPU) 212, an I/O adaptor 213 and a disk cache 214. The controlprocessor 212 controls data input/output with the physical disks 215 andalso operation of the storage system 200. If the storage system 200 is aNAS (Network Attached Storage), the control processor 212 operates afile system. The I/O adaptor 213 is connected with the server system 100through the I/O channel 400. The disk cache 214 temporarily stores dataread from the physical disk 215 and data to be written into the physicaldisk 215 to improve access performance of the storage system 200.

The physical disk 215 is controlled by a storage hypervisor 220. Thestorage hypervisor 220 is a control software which creates and controlslogical partitions in the storage system 200. The hypervisor 220 runs oncontrol processor 212. The storage hypervisor 220 creates virtual disks225. Specifically, the storage hypervisor 220 partitions the physicaldisk 215 into plural virtual disks 225 or combines plural physical disks215 into a single virtual disk 225.

The storage system 200 selects one or more virtual disks 225 and offersthem as memory areas to the virtual computers 131 and 141. The virtualdisks thus selected are called logical units. A logical unit refers to aunit which an OS recognizes as a disk.

The logical unit incorporates a RAID (Redundant Array of IndependentDisks) to make stored data redundant. Therefore, even if there is aproblem in some of the physical disks 215, stored data will not be lost.

The logical units as virtual disks 225 are divided into a group oflogical units 231 for the virtual storage system (0) and a group oflogical units 241 for the virtual storage system (1). The virtualstorage system (0) is accessed by the virtual computer (0) 131 and thevirtual storage system (1) is accessed by the virtual computer (1) 141.

The storage hypervisor 220 has a virtual disk control table 221, a diskaddress translation table 222, and a storage resources control table223.

The virtual disk control table 221 (FIG. 2) stores the same content as avirtual disk control table 321 incorporated in the control terminal 300.

The disk address translation table 222 (FIG. 3) defines the relationsbetween virtual disks and physical disks and also the relations betweenvirtual disk addresses and physical disk addresses. The disk addresstranslation table 222 converts virtual disk addresses into physical diskaddresses and vice versa.

The storage resources control table 223 stores the same content as astorage resources control table 323 incorporated in the control terminal300.

The control terminal 300 is a computer device which controls thecomputer system comprehensively and executes a virtual computer controlprogram 310. The virtual computer control program 310 has the virtualdisk control table 321, storage resources control table 323 and serverresources control table 324.

The virtual disk control table 321 stores the same content as thevirtual disk control table 221 incorporated in the storage system 200.

The storage resources control table 323 (FIG. 4) defines the relationsbetween the resources of the storage system 200 and the virtualcomputers. The storage resources control table 223 controls allocationof storage resources.

The server resources control table 324 (FIG. 5) defines the relationsbetween the resources of the server system 100 and the virtualcomputers. The server resources control table 324 controls computingresources of the server system 100.

The control terminal 300 is connected with the server system 100 and thestorage system 200 through a network 410. The server system 100, storagesystem 200 and control terminal 300 receive or send computer systemcontrol information (the contents of control tables) through the network410.

Concretely, the virtual disk control table 321 is created by the virtualcomputer control program 310 and transmitted to the storage system 200to become the virtual disk control table 221. The virtual disk controltable 321 defines the configuration of virtual storage systemscorresponding to virtual computers. The virtual disk control table 321controls which virtual computer can access which logical unit.

The storage resources control table 323 is also created by the virtualcomputer control program 310 and transmitted to the storage system 200to become the storage resources control table 223. The updated data inthese tables are received or sent through the network 410.

The I/O channel 400 is a transmission medium which allows communicationin accordance with a protocol suitable for data transmission, such asFibre Channel. The server system 100 and storage system 200 may beconnected on the one-to-one basis or through a network (SAN).

The network 410 is designed to allow communication of data and controlinformation between computers, for example, in accordance with TCP/IPprotocol. For example, it uses Ethernet.

In the first embodiment described above, it is assumed that one serversystem 100 is connected with one storage system 200. However, regardingeither or both of the server system 100 and storage system 200, morethan one such system may be used.

The above explanation assumes that one virtual computer corresponds toone virtual storage system. However, more than one virtual computer maybe connected to one virtual storage system or one virtual computer maybe connected with more than one virtual storage system.

FIG. 2 illustrates a virtual disk control table according to anembodiment of the present invention.

As mentioned above, the virtual disk control table 221 is created in thecontrol terminal 300 by a user's operation of the control terminal 300and a table with the same content is stored as a virtual disk controltable 121 in the server system 100 and as a virtual disk control table221 in the storage system 200.

The virtual disk control table 221 contains virtual computer numbers401, logical unit numbers 402 and virtual disk numbers 403 in a way thatthey correspond to each other. A virtual computer number 401 correspondsto a virtual computer in the server system 100. A logical unit number402 is a number assigned to a logical unit as a virtual disk 225identified by a virtual disk number 403.

The virtual disk control table 221 tells which virtual computer canaccess which logical unit (namely which virtual disk).

FIG. 3 illustrates a disk address translation table according to anembodiment of the present invention. The disk address translation table222 is created in the storage system 200 by the storage hypervisor 220and stores the relations between virtual disks and physical disks andthe relations between virtual disk addresses and physical diskaddresses, as stated above.

The disk address translation table 222 contains virtual disk numbers501, virtual block addresses 502, physical disk numbers 503 and physicalblock addresses 504 in a way that they correspond to each other. Avirtual disk number 501 is a number assigned to a virtual disk 225created by the storage hypervisor 220 and corresponds to a virtual disknumber 403 stored in the virtual disk control table 221. A virtual blockaddress 502 is an address of a virtual disk 225. A virtual block address502 corresponds to a physical block address 504 of a physical disk 215identified by a physical disk number 503. Specifically, virtual blockaddress 0x00000000 of virtual disk number 121 corresponds to physicalblock address 0x00000000 of physical disk number 8. Also, virtual blockaddress 0x80000000 of virtual disk number 121 corresponds to physicalblock address 0x00000000 of physical disk number 9. In other words,virtual disk 121 is composed of physical disks 8 and 9. The disk addresstranslation table 222 can convert virtual disk addresses into physicaldisk addresses and vice versa.

FIG. 4 illustrates a storage resources control table according to anembodiment of the present invention.

As mentioned above, the storage resources control table 323 is createdin the control terminal 300 by a user's operation of the controlterminal 300 and a table with the same content is stored as a storageresources control table 223 in the storage system 200.

In the second embodiment which will be stated later (FIG. 13), a storageresources control table 223 is created in the storage system 200. In thethird embodiment which will be stated later (FIG. 14), a storageresources control table 223 is created in the server system 100.

The storage resources control table 323 contains virtual computernumbers 601, virtual disk numbers 602, disk cache capacities 603,control processor numbers 604 and I/O adaptor numbers 605 in a way thatthey correspond to each other. The storage resources control table 323stores the relations between the resources of the storage system 200(virtual disks 225, control processors 212, I/O adaptors 213, and diskcaches 214) and virtual computers.

A virtual computer number 601 corresponds to a virtual computer in theserver system 100. A virtual disk number 602 is a number assigned to avirtual disk 225 created by the storage hypervisor 220, which indicatesa virtual disk allocated to a virtual computer identified by a virtualcomputer number 601. This virtual disk number 602 corresponds to avirtual disk number 403 stored in the virtual disk control table 221.

A disk cache capacity 603 is the capacity of a disk cache 214 which isallocated to a virtual computer identified by a virtual computer number601. A control processor number 604 indicates a control processor 212which controls access from a virtual computer identified by a virtualcomputer number 601 (to a virtual disk identified by a virtual disknumber 602).

An I/O adaptor number 605 indicates an I/O adaptor 213 which is incharge of access from a virtual computer identified by a virtualcomputer number 601 (to a virtual disk identified by a virtual disknumber 602).

Specifically, three virtual disks 225 (disk numbers 121-123) areallocated to the virtual computer (0) 131. For access to these virtualdisks 225 (disk numbers 121-123), the virtual computer (0) 131 can use512 megabytes of disk cache. For access from the virtual computer (0)131 to the virtual disks 225 (disk numbers 121-123), three I/O adaptors(numbers 0-2) are used. Three control processors (CPUs) (numbers 48-50)work to process access from the virtual computer (0) 131 to the virtualdisks 225 (numbers 121-123).

FIG. 5 illustrates a server resources control table according to anembodiment of the present invention.

As mentioned above, in the first embodiment, the server resourcescontrol table 324 is created in the control terminal 300 by the virtualcomputer control program 310.

In the second embodiment which will be stated later (FIG. 13), a serverresources control table 224 is created in the storage system 200. In thethird embodiment which will be stated later (FIG. 14), a serverresources control table 124 is created in the server system 100.

The server resources control table contains virtual computer numbers701, CPU allocation (percentage) 702, memory capacities 703, and I/Oadaptor numbers 704 in a way that they correspond to each other. Theserver resources control table 324 stores the relations among theresources of the server system 100 (CPU 111, memory 112 and I/O adaptor114).

A virtual computer number 701 corresponds to a virtual computer in theserver system 100. CPU allocation 702 is the proportion of the CPU ofthe server system 100 which is allocated to that virtual computer. Amemory capacity 703 is the capacity of the memory 112 which is allocatedto that virtual computer. An I/O adaptor number 704 indicates an I/Oadaptor 213 which is in charge of access from the virtual computer tothe storage system 200.

FIG. 6 shows a resources allocation process according to an embodimentof the present invention.

First, the user operates the control terminal 300 to allocate thecomputing resources of the server system 100 (CPU 111, memory 112, I/Oadaptor 114, etc) and the resources of the storage system 200 (CPU 212,I/O adaptor 213, disk cache 214, and virtual disk 225) to individualvirtual computers to update the server resources control table 324(S101). The control terminal 300 transmits resources allocation data tothe server system 100 (S102).

As the server system 100 receives resources allocation data from thecontrol terminal 300, it allocates the computing resources of the serversystem 100 to create virtual computers (S103). After creation of virtualcomputers, it notifies the control terminal 300 of creation of virtualcomputers (S104).

As the control terminal 300 receives notification of creation of virtualcomputers from the server system 100, it transmits resources allocationdata (data for updating the storage resources control table) to thestorage system 200 (S105).

As the storage system 200 receives resources allocation data from thecontrol terminal 300, it updates the storage resources control table 223and the virtual disk control table 221 according to the allocation datato allocate the resources of the storage system 200 (S106). Whennecessary, the virtual disk control table 221 and the disk addresstranslation table 222 are updated to create or update virtual storagesystems (S106). After creation of virtual storage systems, the storagesystem 200 notifies the control terminal 300 of creation of virtualstorage systems (S107).

FIG. 7 shows the data input/output process with the storage system 200.

The storage system 200 receives an input/output command from the serversystem 100 (S111). This input/output command is transmitted to thestorage hypervisor 220. The storage hypervisor 220 reads a sourcevirtual computer number 1302 and a destination virtual computer number1303 which are included in the input/output command (hypervisorcommunication header 1203. (See FIGS. 9 and 10) (S112). The storagehypervisor 220 transmits hypervisor communication payload 1204 to avirtual storage system corresponding to the destination virtual computernumber 1303 (S113). In this embodiment, the hypervisor communicationpayload 1204 includes a disk I/O command which the virtual storagesystem executes.

The virtual storage system acquires the number of the virtual disk to beaccessed and identifies and accesses the relevant virtual disk 225(S114).

Access to the virtual disk 225 is accepted by the storage hypervisor220. The storage hypervisor 220 uses the disk address translation table222 to identify the physical block address of the physical diskcorresponding to the virtual block address of the virtual disk to beaccessed and translates access to the virtual disk 225 into access tothe physical disk 215. Then, the storage hypervisor 220 accesses thephysical disk 215 and reads or writes data (S115).

Upon completion of data input/output with the physical disk 215, thestorage hypervisor 220 notifies the virtual storage system of the resultof data input/output (S116). As the virtual storage system receives theresult of data input/output from the storage hypervisor 220, it notifiesthe virtual computer of the result of data input/output through thestorage hypervisor 220 and hypervisor 110 (S117, S118, S119).

Next, how the server system 100 and the storage system 200 process aninput/output command will be explained. Communication between the serversystem 100 and the storage system 200 is made through the I/O channel400. Communication through the I/O channel 400 is explained by aprotocol with a layer structure like that of Fibre Channel or Ethernetas an example.

FIG. 8 illustrates the layer structure of a communication protocol forthe I/O channel 400.

When the OS (0) 132 on the virtual computer (0) 131 accesses a logicalunit in the storage system 200, input/output takes place according to adisk I/O protocol (for example, SCSI). In this embodiment, a disk I/Oprotocol layer is called a “disk I/O layer” 1100, 1106. A disk I/Ocommand issued by the OS (0) 132 is received by the hypervisor 120 and acommunication protocol layer exists between the hypervisor 120 and thestorage hypervisor 220. This is called a “hypervisor communicationlayer” 1101, 1105. Furthermore, in this embodiment, a layer for generalcommunication through the I/O channel 400 is called an “I/O channelprotocol layer” 1102, 1104. A hardware layer such as a physical mediumis called a “physical layer” 1103. Thanks to this layer structure, thedisk I/O layers 1100 and 1106 and the hypervisor communication layers1101 and 1105 are not affected by change in the physical medium of theI/O channel 400.

A disk I/O command issued by the OS (0) 132 is transmitted to thevirtual computer (0) 131. The virtual computer (0) 131 issues the I/Ocommand to the virtual storage system (0). Actually, the hypervisor 120receives the I/O command. The hypervisor 120 adds information to thedisk I/O command (see FIG. 9) and transmits it to the storage hypervisor220. The storage hypervisor 220 receives it, extracts the disk I/Ocommand from it and transmits the command to the virtual storage system(0) 230. When the layer structure is used for communication in this way,the OS (0) 132 recognizes as if it were communicating directly with thevirtual storage system (0) 230.

FIG. 9 illustrates data communication between the server system 100 andthe storage system 200.

In this embodiment, communication through the I/O channel 400 is madeframe by frame 1200 as through Fibre Channel or Ethernet. A frame 1200consists of an I/O channel protocol header 1201 and an I/O channelprotocol payload 1202. The I/O channel protocol header 1201 containscontrol information required for communication via the I/O channelprotocol layers 1102 and 1104. Although not shown, the controlinformation may be a source identifier or destination identifier. TheI/O channel protocol payload 1202 is data which is communicated via theI/O channel protocol layers 1102 and 1104. The I/O channel protocollayers 1102 and 1104 are not concerned with the data.

The I/O channel protocol payload 1202 consists of a hypervisorcommunication header 1203 and a hypervisor communication payload 1204.The hypervisor communication header 1203 contains control informationrequired for communication via the hypervisor communication layers 1101and 1105 (stated later) The hypervisor communication payload 1204 isdata which is communicated via the hypervisor communication layers 1101and 1105. The hypervisor communication layers 1101 and 1105 are notconcerned with the data.

In this embodiment, the hypervisor communication payload 1204 consistsof information necessary for communication between the disk I/O layers1100 and 1106. Specifically, the information includes disk I/O commandsor data to be transmitted. In this embodiment, the hypervisorcommunication payload 1204 includes information on the disk I/O layers1100 and 1106 because the disk I/O layers are located above thehypervisor communication layers 1101 and 1105. However, if communicationis made between the hypervisor and the storage hypervisor, informationother than disk I/O layer information is included.

FIG. 10 illustrates the content of the hypervisor communication header1203.

The hypervisor communication header 1203 is unique to embodiments of thepresent invention. It consists of a source hypervisor number 1300, adestination hypervisor number 1301, a source virtual computer number1302, and a destination virtual computer number 1303. In thisembodiment, unique identifiers are given to the hypervisor and thestorage hypervisor to cope with a computer system which has a pluralityof server systems 100 and storage systems 200.

The source hypervisor number 1300 is an identifier of a hypervisor or astorage hypervisor which sends the frame.

The destination hypervisor number 1301 is an identifier of a hypervisoror a storage hypervisor which receives the frame.

The source virtual computer number 1302 is an identifier of a virtualcomputer or a virtual storage system which sends the frame.

The destination virtual computer number 1303 is an identifier of avirtual computer or a virtual storage system which receives the frame.

FIGS. 11 and 12 illustrate system configuration screens according to anembodiment of the present invention.

In the upper part of the screen, there are provided pages whereresources allocated to each virtual computer are specified. In the lowerpart of the screen, there is provided a “resources” window showing allthe resources of the server system 100 and the storage system 200. Inaddition to all the resources, the window may show resources which arenot used (or already in use).

The administrator can specify resources for each virtual computer bywriting resources of the server system or storage system in each page inthe upper part of the screen or by moving resources from the “resources”window in the lower part of the screen.

Also, the administrator can specify a performance required for a virtualcomputer (and a virtual storage system) without the need to carry outthe task of allocating resources to each virtual computer and eachvirtual storage system so that the required resources for theperformance are calculated and set for the virtual computer and virtualstorage system.

For example, for a virtual computer which places emphasis on data readperformance, a larger value should be set for the capacity of the diskcache 214 which is allocated to a corresponding virtual storage system.If all the resources of the disk cache 214 are small in amount and thecapacity of the disk cache 214 allocated to the virtual storage systemis small, a larger memory area should be allocated to the virtualcomputer. On the other hand, if all the resources of the disk cache 214are large in amount and the capacity of the disk cache 214 allocated tothe virtual storage system is small, a smaller memory area is allocatedto the virtual computer.

If application software running on a virtual computer randomly accessesa wide area on the disk, the cache is less effective and thus allocationof the capacity of the disk cache 214 should be small. For applicationsoftware which provides the function of streaming moving pictures orother multimedia functions, the capacity of the disk cache 214 allocatedto the virtual storage system should be large and the capacity of thememory 112 allocated to the virtual computer should also be large.

When the number of server systems 100 or storage systems 200 isincreased or decreased, virtual computers and virtual storage systemsmay be configured on this screen.

Thus, the first embodiment of the present invention is summarized asfollows. It has a server resources control table 324, a storageresources control table 323, and a virtual disk control table 321. Thehypervisor 120 logically partitions computing resources according tosettings in the server resources control table 324 and makes resultingpartitions run independently as virtual computers. The storagehypervisor 220 logically partitions the storage resources according tosettings in the storage resources control table 323 and makes resultingpartitions run independently as virtual storage systems. Therefore, theresources of the computer system including the server system and thestorage system can be comprehensively controlled and allocatedoptimally.

In reconfiguring a virtual computer, a corresponding virtual storagesystem can be reconfigured. This means that the virtual computer andvirtual storage system need not be configured separately and theresources of the virtual computer and virtual storage system can be set,taking the overall performance of the computer system intoconsideration. Resources like the disk cache 214 which could not becontrolled by the control terminal 300 in the conventional technique canbe set at the same time as virtual computer resources.

In this embodiment, the user can make a detailed setting for “disk” onthe configuration screen shown in FIG. 11 by calling a detailed settingwindow. Needless to say, the present invention does not rely on thescreen display method.

FIG. 12 illustrates a detailed setting window.

The detailed setting window (FIG. 12) can be called for each virtualcomputer by clicking on the “detail” button shown in FIG. 11. In thisembodiment, a logical unit 0 consists of two physical disks (physicaldisks 8 and 9). “10,000 rpm” which is shown next to each physical disknumber indicates that the physical disks 8 and 9 are magnetic recordingmedia as magnetic disks which make 10,000 round per minute. The r.p.m.of the magnetic disk is an important factor which defines theperformance as the physical disk. For an application which requires ahigh performance, the user can select a high performance physical diskin this window to make up a logical unit. The user can also select morephysical disks to increase the logical unit performance.

As discussed above, according to the present invention, storageresources can be allocated in connection with virtual computers and itis possible to allocate resources of a whole computer system including aserver system and a storage system optimally.

FIG. 13 shows the configuration of a computer system according to asecond embodiment of the present invention.

Unlike the first embodiment (FIG. 1), the second embodiment does not usea control terminal 300 and instead has the same function as that of thecontrol terminal 300 in the first embodiment, in the storage system 200.The same elements as those in the first embodiment are designated by thesame reference numerals and their detailed descriptions are omitted.

According to the second embodiment, a computer system is composed of: aserver system 100 on which application software runs; a storage system200 which controls the whole computer system and stores data requiredfor operation of the server system 100; and a control terminal 350 whichissues instructions to the storage system 200 for operation of the wholecomputer system.

The server system 100 has a physical computer system 110 whichincorporates such resources as a CPU 111, a memory 112, an I/O bus 113,and I/O adaptors 114 and 115. The configuration and operation of theserver system 100 are the same as in the first embodiment.

The storage system 200 has a physical storage system 210 including suchresources as a physical storage control block 211 and physical disks215.

The storage hypervisor 220 has a virtual disk control table 221, a diskaddress translation table 222, a storage resources control table 223,and a server resources control table 224.

The virtual disk control table 221 (FIG. 2), disk address translationtable 222 (FIG. 3), and storage resources control table 223 (FIG. 4) arethe same as those in the first embodiment. The server resources controltable 224 (FIG. 5) defines the relations between the resources of theserver system 100 and virtual computers. The server resources controltable 224 is used to control the computing resources of the serversystem 100.

The storage hypervisor 220 comprehensively controls the computer systemusing the control tables 221, 223 and 224.

A virtual computer control program which comprehensively controls thecomputer system using the control tables 221, 223 and 224 runs in thestorage hypervisor 220.

The control terminal 350 is a computer device which is used to setcontrol information for the computer system. It is connected with thestorage system 200. Therefore, the administrator can update the storageresources control table 223 and the server resources control table 224by operating the control terminal 350.

Thus, in addition to the above-mentioned effects of the firstembodiment, the second embodiment brings about an effect that virtualstorage systems can be controlled in a way to match virtual computers,without a separate control terminal, because the same function as thatof the control terminal 300 is provided in the storage system 200.

FIG. 14 shows the configuration of a computer system according to athird embodiment of the present invention.

Unlike the first embodiment (FIG. 1) or the second embodiment (FIG. 13),the third embodiment does not use a control terminal 300 and instead hasthe same function as that of the control terminal 300 in the firstembodiment, in the server system 100. The same elements as those in thefirst embodiment are designated by the same reference numerals and theirdetailed descriptions are omitted.

According to the third embodiment, a computer system is composed of: aserver system 100 which has application software running thereon andcontrols the whole computer system, and a storage system 200 whichstores data required for operation of the server system 100.

The server system 100 has a physical computer system 110 whichincorporates such resources as a CPU 111, a memory 112, an I/O bus 113,and I/O adaptors 114 and 115. The configuration of the physical computersystem 110 is the same as in the first embodiment.

The resources of the physical computer system 110 are controlled by ahypervisor 120. The hypervisor 120 creates a virtual computer (0) 131based on the computing resources used by the OS (0) 132 and a virtualcomputer (1) 141 based on those by the OS (1) 142, in the physicalcomputer system 110. The hypervisor 120 has a virtual disk control table121, a storage resources control table 123, and a server resourcescontrol table 124.

The virtual disk control table 121 stores the same content as a virtualdisk control table 221 in the storage system 200.

The storage resources control table 123 (FIG. 4) defines the relationsbetween the resources of the storage system 200 and virtual computers.The storage resources control table 223 controls allocation of storageresources.

The server resources control table 124 (FIG. 5) defines the relationsbetween the resources of the server system 100 and virtual computers.The server resources control table 224 is used to control the computingresources of the server system 100.

A virtual computer control program which comprehensively controls thecomputer system using the control tables 121, 123 and 124 runs in thehypervisor 120. Therefore, the administrator can update the settings inthe storage resources control table 123 and the server resources controltable 124 by operating the server system 100.

The storage system 200 includes a physical storage system 210 havingsuch resources as a physical storage control block 211 and physicaldisks 215. The configuration of the storage system 200 is the same as inthe first embodiment. The storage resources control table 223 stores thesame content as the storage resources control table 123 in the serversystem 100.

Thus, in addition to the above-mentioned effects of the firstembodiment, the third embodiment brings about an effect that virtualstorage systems can be controlled in a way to match virtual computers,without a control terminal separate from the server system 110, becausethe same function as that of the control terminal 300 is provided in theserver system 100.

FIG. 15 shows the configuration of a computer system according to afourth embodiment of the present invention.

The fourth embodiment is different from the above embodiments in thestructure of the physical storage control block 1100. In the physicalstorage control block 1100, one or more channel adaptors 1101, one ormore disk adaptors 1102, one or more disk caches 1103 and one or morecontrol processors 212 are connected through an internal network 1104.The channel adaptors control communication with the server system 100and the disk adaptors 1102 control physical disks.

In the physical storage control block 1100 having the internal network1104, the bandwidth of the network 1104 is an important factor whichinfluences the performance of the storage system 200. For this reason,in this embodiment, the storage hypervisor 220 makes allocation of thebandwidth of the internal network 1104 between the virtual computer (0)131 and virtual computer (1) 141 and the control processor 212 processesinput and output according to the allocation. Various bandwidth controlmethods are available but the present invention does not rely on thebandwidth control method.

The constitution of the virtual disks 225 also influences theperformance. As mentioned earlier, the virtual disks 225 are storageareas of the physical disks 215 which the storage hypervisor 220 makesthe virtual computer (0) 131 and virtual computer (1) 141 recognize asdisks. One method of creating a virtual disk 225 with improvedinput/output performance is to extract parts of memory areas of pluralphysical disks 215 and combine them into a virtual disk 225. This isbecause input/output requests of the virtual computer (0) 131 andvirtual computer (1) 141 are processed by concurrent parallel operationof many physical disks 215.

This approach is explained below referring to FIGS. 16( a) and 16(b).

As shown in FIG. 16 (a), a virtual disk 1200 consists of one physicaldisk 1201. On the other hand, as shown in FIG. 16( b), a virtual disk1202 consists of parts of storage areas of three physical disks 1203,1204, and 1205. The performance of the physical disk 1201 can beexpressed by the number of input/output processes executed in a unit oftime. When x represents this number, the input/output performance of thevirtual disk 1200 is expressed as x. By contrast, assuming that thevirtual computer (0) 131 and virtual computer (1) 141 access all storageareas of the virtual disk 1202 evenly, the performance of the virtualdisk 1202 is expressed as 3x because the physical disks 1203, 1204 and1205 operate in parallel concurrently. Thus, the performance of thevirtual disk 1202 largely depends on the number of physical disks 215which constitute it.

Therefore, it is desirable that the number of physical disks 215 whichconstitute a virtual disk 225 can be specified at the control terminal300 according to application software etc. which the virtual computer(0) 131 and virtual computer (1) 141 execute. For example, if thevirtual computer (0) 131 and virtual computer (1) 141 executeapplication software which permits random access to a wide area of thedisk, the disk cache 214 is less effective as stated earlier. In thiscase, the access performance of the physical disk 215 is a dominantfactor which determines the performance of the virtual disk 225. Forthis reason, the number of physical disks 215 which constitute a virtualdisk 225 is increased in order to improve the performance of the virtualdisk 215.

The control processor 212 is also one of the factors which determine theinput/output performance of the storage system 200. It is also desirablethat the user can specify the allocation rate of the control processor212 at the control terminal 300 according to the input/outputperformance required for the virtual computer (0) 131 and virtualcomputer (1) 141 and application software. Depending on how the storagesystem 200 is constituted, it is also possible that the channel adaptor1101 and disk adaptor 1102 each incorporate a control processor 212. Ifthat is the case, the channel adaptor 1101 and disk adaptor 1102 whichare in charge of data input/output with the virtual computer (0) 131 andthe virtual computer (1) 141 are specified at the control terminal.

The storage resources control table 223 should be modified so that theresources (internal network 1104, physical disks 215, control processors212, etc.) of the storage system 200 can be specified at the controlterminal 300 as mentioned above.

FIG. 17 illustrates a storage resources control table 223 according tothe fourth embodiment of the present invention.

The table shown in FIG. 17 contains a “bandwidth of internal network”column 1300 as an additional column. This column is used to specify theallocation rate of the bandwidth of the internal network 1104 for eachof the virtual computer (0) 131 and virtual computer (1) 141. In thisembodiment, the allocation rate is expressed as a percentage to theoverall bandwidth. The control processor 212 monitors the internalnetwork bandwidth used by the virtual computer (0) 131 and virtualcomputer (1) 141, and delays input/output processes as necessary toprevent the internal network bandwidth from exceeding a preset level.

Control processors are allocated through the use of the “Controlprocessor” column 604 of the storage resources control table 223. Whichcontrol processors 212 are in charge of input/output with the virtualcomputer (0) 131 and virtual computer (1) 141 are specified in thiscolumn. It is expected that the more control processors are allocated toa virtual computer, the higher input/output performance it provides. Itis also possible that one control processor 212 is in charge ofinput/output with both the virtual computer (0) 131 and virtual computer(1) 141. If that is the case, the control processor 212 monitors the CPUtime which each virtual computer uses and thus controls CPU timeallocation between the virtual computer (0) 131 and virtual computer (1)141.

Allocation of physical disks is controlled by the virtual disk controltable 221 in the same way as in the above embodiments.

FIG. 18 illustrates a computer system configuration screen according tothe fourth embodiment of the present invention.

On the right of the word “CPU” in the upper window is a field for entryof the number of control processors 212 for the virtual computer (0)131. On the right of the words “Disk cache” is a field for entry of thecapacity of the disk cache which is allocated to the virtual computer(0) 131. On the right of the words “Bandwidth of internal network” is afield for entry of the bandwidth (allocation rate) of the internalnetwork 1104 in the storage system 200 which is allocated to the virtualcomputer (0) 131. On the right of the word “disk” is a field for entryof the number of logical units 231 which are allocated to the virtualcomputer (0) 131. A detailed setting window (FIG. 12) which showsphysical disks as constituents of each logical unit and enables detailedsetting is called by clicking on the “detail” button in the “disk” line.

1. A storage system, coupled to at least one information processingdevice which is/are logically divided into a plurality of virtualizedinformation processing devices, the storage system being divided intovirtual storage systems and receiving data from at least one of theplurality of virtualized information processing devices, the storagesystem comprising: a plurality of ports arranged to receive the datafrom the at least one of the plurality of virtualized informationprocessing devices; a plurality of processors which control transfer ofthe data received by said ports; a plurality of memory resources whichstore the data based on controlling by said processors; a plurality ofRAID (Redundant Array of Independent Disks) groups, each of whichrelates to a plurality of disk drives, said disk drives storing aplurality of the data and parity data related to the data stored in saiddisk drives of one of said RAID groups; and a plurality of resourcegroups, each of said resource groups being divided by at least onelogical partition, each resource group having a plurality of kinds ofresources including at least one of said ports, at least one of saidprocessors, at least one of said memory resources, and at least one ofsaid RAID groups; wherein each of said resource groups corresponds to atleast one of the plurality of virtual storage systems, respectively, andis assigned to at least one of said virtualized information processingdevices, respectively, and wherein a quantity of said resources in eachof said resource groups is assigned based on a performance required foreach of said resource groups assigned to at least one of the virtualizedinformation processing devices, respectively.
 2. A storage systemaccording to claim 1 wherein: said quantity includes the number of saidprocessors in a first resource group of said resource groups, assignedbased on said required performance.
 3. A storage system according toclaim 1 wherein: said quantity includes the amount of said memoryresources in a first resource group of said resource groups, assignedbased on said required performance.
 4. A storage system according toclaim 1 wherein: said quantity includes the number of said ports in afirst resource group of said resource groups, assigned based on saidrequired performance.
 5. A storage system according to claim 1 wherein:at least one RAID level in a first resource group of said resourcegroups is assigned based on said required performance.
 6. A storagesystem according to claim 1 wherein: said ports in a first resourcegroup of said resource groups are coupled to at least one firstinformation processing device and are assigned based on said requiredperformance, and said required performance is determined based on aperformance required for processing data sent from said firstinformation processing device.
 7. A storage system according to claim 1wherein: said ports in a first resource group of said resource groupsare coupled to at least one first information processing device and areassigned based on said required performance, and said requiredperformance is determined based on a performance required for storingdata sent from said first information processing device to at least onefirst RAID group of said RAID groups in said first resource group.
 8. Astorage system according to claim 1 wherein: said ports in a firstresource group of said resource groups are coupled to at least one firstvirtual server, which is made by dividing said information processingdevice by at least one logical partition and has a plurality of kinds ofresources in said information processing device, and are assigned basedon said required performance, and said required performance isdetermined based on a performance required for processing data sent fromsaid first virtual sewer.
 9. A storage system according to claim 1wherein: said ports in a first resource group of said resource groupsare coupled to at least one first virtual server, which is made bydividing said information processing device by at least one logicalpartition and has a plurality of kinds of resources in said informationprocessing device, and are assigned based on said required performance,and said required performance is determined based on a performancerequired for storing data sent from said first virtual sewer to at eastone first RAID group of said RAID group in said first resource group.10. A storage system according to claim 1 further comprising: amanagement device that displays information of said ports, saidprocessors, said memory resources and said RAID groups, and which isarranged to receive at least one request for making said resourcegroups; wherein said at least one request has information of saidrequired performance.
 11. A storage system according to claim 1 furthercomprising: a management device that displays information of saidresources in a first resource group of said resource groups.
 12. Astorage system according to claim 1 wherein: a first resource group ofsaid resource groups is made in accordance with a request of making saidfirst resource group.
 13. A storage system, comprising: at least oneport arranged to receive data from at least one information processingdevice which is/are logically divided into a plurality of virtualizedinformation processing devices; at least one processor which controlstransfer of the data received by said at least one port; at least onememory resource which stores the data based on controlling by said atleast one processor; at least one RAID (Redundant Array of IndependentDisks) group, which relates to a plurality of disk drives, said diskdrives storing a plurality of the data and parity data related to thedata stored in said disk drives of one of said at least one RAID group;and a plurality of resource groups, each of said plurality of resourcegroups being divided by at least one logical partition, each of saidplurality of resource groups having at least one logically divided portof said at least one port, at least one of logically divided processorsof said at least one processor, at least one logically divided memoryresources of said at least one memory resource, and at least one oflogically divided RAID groups of said at least one RAID group, whereineach of said resource groups is assigned to each of said virtualizedinformation processing devices, respectively, and wherein a quantity ofresources in each of said resource groups is assigned based on aperformance required for each of said resource groups.
 14. A storagesystem, comprising: a plurality of ports arranged to receive data fromat least one information processing device, which is/are logicallydivided into a plurality of virtualized information processing devices;a plurality of logical units established to access the received datasent by said information processing device and relating to a pluralityof storage regions; a plurality of processors which control transfer ofthe data received by said ports to said storage regions; a plurality ofmemory resources which store the data based on controlling by saidprocessors; a plurality of disk drives having said storage regions andstoring the data stored in said memory resources; and a plurality ofresource groups each having at least one logically divided port of saidports, at least one of said logical units, at least one logicallydivided processor of said processors, and at least one logically dividedmemory resource of said memory resources, and each of said resourcegroups being partitioned by at least one logical partition, wherein eachof said resource groups is assigned to each of said virtualizedinformation processing devices, respectively, and wherein a partitioningratio of each resource in each of said partitioned resource groups isdetermined based on a performance required for each of said resourcegroups.
 15. A storage system according to claim 14 wherein: the numberof said logical units in a first resource group of said resource groupsis assigned based on said required performance.
 16. A storage system,comprising: at least one port arranged to receive data from at least oneinformation processing device, which is/are logically divided into aplurality of virtualized information processing devices; at least onelogical unit established to access the received data sent by said atleast one information processing device and relating to at least onestorage region; at least one processor which controls transfer of thedata received by said at least one port to said at least one storageregion; at least one memory resource which stores the data based oncontrolling by said at least one processor; a plurality of disk driveshaving said at least one storage region and storing the data stored insaid at least one memory resource; and a plurality of resource groupseach having a plurality of kinds of resources including at least onelogically divided port from among said at least one port, said at leastone logical unit, at least one logically divided processor from amongsaid at least one processor, and at least one logically divided memoryresource from among said at least one memory resource, and each resourcegroup being partitioned by at least one logical partition wherein eachof said resource groups is assigned to each of said virtualizedinformation processing devices, respectively, and wherein a partitioningratio of each resource in each of said partitioned resource groups isdetermined based on a performance required for each of said resourcegroups.
 17. A storage system, comprising: a plurality of ports arrangedto receive data from at least one information processing device, whichis/are logically divided into a plurality of virtualized informationprocessing devices; a plurality of logical units established to accessthe received data sent by said information processing device andrelating to a plurality of storage regions; a plurality of processorswhich control transfer of the data received by said ports to saidstorage regions; a plurality of memory resources which store the databased on controlling by said processors; a plurality of disk driveshaving said storage regions and storing the data stored in said memoryresources; and a plurality of resource groups each having a plurality ofkinds of resources including at least one logically divided port fromamong said ports, at least one of said logical units, at least onelogically divided processor from among said processors, and at least onelogically divided processor from among said processors, and at least onelogically divided memory resource from among said memory resources, andeach of said resource groups being partitioned by at least one logicalpartition, wherein each of said resource groups is assigned to each ofsaid virtualized information processing devices, respectively, andwherein a quantity of said resources in each of said resource groups isassigned based on a performance required for each of said resourcegroups.
 18. A storage system, comprising: at least one port arranged toreceive data from at least one information processing device, whichis/are logically divided into a plurality of virtualized informationprocessing devices; at least one logical unit established to access thereceived data sent by said at least one information processing deviceand relating to at least one storage region; at least one processorwhich controls transfer of the data received by said at least one portto said at least one storage region; at least one memory resource whichstores the data based on controlling by said at least one processor; aplurality of disk drives having said at least one storage region andstoring the data stored in said at least one memory resource; and aplurality of resource groups each having at least one logically dividedport of said at least one port, at least one of said at least onelogical unit, at least one logically divided processor of said at leastone processor, and at least one logically divided memory resource ofsaid at least one memory resource, and each of said resource groupsbeing partitioned by at least one logical partition, wherein each ofsaid resource groups is assigned to each of said virtualized informationprocessing devices, respectively, and wherein a quantity of resources ineach of said resource groups is assigned based on a performance requiredfor each of said resource groups.